<template>
  <div>
    <el-container
      style="
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        overflow: hidden;
      "
    >
      <el-header height="100px" style="z-index: 100;">
        <CatcoffeeBanner />
      </el-header>
      <el-container>
        <el-aside width="200px" class="aside">
          <CatcoffeeLeft />
        </el-aside>
        <el-container
          v-loading="loading"
          customClass="loaiding"
          style="height: 100%;"
        >
          <el-main>
            <router-view></router-view>
          </el-main>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import CatcoffeeBanner from "@/components/banner.vue";
import CatcoffeeLeft from "@/components/left.vue";
import Tag from "@/components/tag.vue";
export default {
  name: "CatcoffeeIndex",

  data() {
    return {};
  },
  components: {
    CatcoffeeBanner,
    CatcoffeeLeft,
    Tag,
  },
  mounted() {},
  computed: {
    loading() {
      return this.$store.state.isLoad;
    },
  },
  methods: {},
};
</script>

<style scoped>
.el-aside {
  background: rgb(84, 92, 100);
}
::v-deep .el-header {
  padding: 0;
}
::v-deep .loaiding {
  color: #ffd04b;
}
</style>